package scau.erps.view.base;

import java.awt.BorderLayout;

import javax.swing.JDialog;
import javax.swing.JTextArea;
import javax.swing.border.EmptyBorder;


/**
 * 关于对话框
 * @author DCJ
 *
 */
public class AboutDialog extends JDialog {
	private static final long serialVersionUID = 1L;	
	public AboutDialog() {
		setModal(true);
		setTitle("关于");
		setSize( 400, 350);
		setLocationRelativeTo(null);
		getContentPane().setLayout(new BorderLayout());
		JTextArea text = new JTextArea();
		String info = "ERP沙盘教学辅助系统 \r\n"
					+ "ERP SandPlay Teaching Support Systems \r\n"
				
					+ "\r\n"
					+ "开发团队 \r\n"				    
				    + "项目经理：outsider\r\n"
				    + "需求分析：outsider、邓成剑\r\n"
				    + "架构设计：邓成剑\r\n"
				    + "程序设计：outsider、ttjs、圈哥\r\n"
				    + "测试：圈哥、谭韵青\r\n"

				    + "\r\n"				    
				    + "项目支持：2015SCAU校级科技创新项目\r\n"
				    + "联系方式：dcj@scau.edu.cn，13416169906\r\n"
				    + "版权所有：华南农业大学SCAU";
		text.setText(info);
		text.setEditable(false);
		text.setBorder(new EmptyBorder(5, 5, 5, 5));
		getContentPane().add(text, BorderLayout.CENTER);		
		setVisible(true);
	}
}
